<template>
  <div>
    <h2>Home</h2>
    <ReactComponent url="world.jsx" />
  </div>
</template>
<script>
  import Vue from 'vue';
  import Component from 'vue-class-component';
  import ReactComponent from "./react-component";
  import About from './about';
  @Component({
    components: {
      ReactComponent,
      About
    }
  })
  export default class Home extends Vue {
    goAbout() {
      this.$router.push({
        name: 'about'
      });
    }
  }
</script>